[package]
name = "db"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

 [features]
 telegram = ["dep:teloxide-core"]
 matrix = []
[dependencies]
thiserror = {workspace = true}
# typed-builder = {workspace = true}
tokio-stream = "0.1.12"
tokio = {workspace = true}
serde = {workspace = true}
uuid = {workspace = true}
url = {workspace = true}
time = {workspace = true}
[dependencies.teloxide-core]
version = "*"
default-features = false
optional = true

# [dependencies.tokio-postgres]
# version = "0.7"
# features = ["with-time-0_3", "with-uuid-1", "with-serde_json-1"]
[dependencies.sqlx]
version = "0.6"
features = ["runtime-tokio-rustls", "uuid", "time", "postgres"]
